package com.empire.module.member.controller.admin.transportationrecord.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.empire.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.empire.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 交通记录分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class TransportationRecordPageReqVO extends PageParam {

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "重点人id", example = "26488")
    private Long personId;

    @Schema(description = "票号")
    private String ticketNumber;

    @Schema(description = "0-飞机 1-铁路 2-汽车", example = "1")
    private Integer type;

    @Schema(description = "起点位置")
    private String startLocation;

    @Schema(description = "终点位置")
    private String endLocation;

    @Schema(description = "起点时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] startTime;

    @Schema(description = "到达时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] endTime;

    @Schema(description = "时长")
    private String duration;

    @Schema(description = "航班号/火车车次/汽车车次")
    private String transportationNumber;

    @Schema(description = "来源")
    private String source;

    @Schema(description = "乘坐人姓名", example = "芋艿")
    private String passengerName;

    @Schema(description = "乘坐人联系电话")
    private String passengerPhone;

    @Schema(description = "座位号")
    private String seatNumber;

    @Schema(description = "总价", example = "15480")
    private BigDecimal totalPrice;

    @Schema(description = "备注", example = "随便")
    private String remark;

    @Schema(description = "已读标记，0:未读，1:已读", example = "2")
    private Boolean readStatus;

    @Schema(description = "开车时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] busstarttime;

    @Schema(description = "购票时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] operationtime;

    @Schema(description = "车牌号")
    private String carno;

    @Schema(description = "检票时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] checkintime;

}